ComponentOne Bitmap for UWP
AddMapping(UnicodeRange[],String[],FontCollection,String,String,Single) Method

C1.UWP.DX Assembly > C1.Util.DX.DirectWrite Namespace > FontFallbackBuilder Class > AddMapping Method : AddMapping(UnicodeRange[],String[],FontCollection,String,String,Single) Method
Unicode ranges that apply to this mapping.
List of target family name strings.
Optional explicit font collection for this mapping.
Locale of the context.
Base family name to match against, if applicable.
Scale factor to multiply the result target font by.
Appends a single mapping to the list. Call this once for each additional mapping.
Syntax
'Declaration
 
Public Overloads Sub AddMapping( _
   ByVal ranges() As UnicodeRange, _
   ByVal targetFamilyNames() As System.String, _
   ByVal fontCollection As FontCollection, _
   ByVal localeName As System.String, _
   ByVal baseFamilyName As System.String, _
   Optional ByVal scale As System.Single _
) 
public void AddMapping( 
   UnicodeRange[] ranges,
   System.string[] targetFamilyNames,
   FontCollection fontCollection,
   System.string localeName,
   System.string baseFamilyName,
   System.float scale
)

Parameters

ranges
Unicode ranges that apply to this mapping.
targetFamilyNames
List of target family name strings.
fontCollection
Optional explicit font collection for this mapping.
localeName
Locale of the context.
baseFamilyName
Base family name to match against, if applicable.
scale
Scale factor to multiply the result target font by.
See Also

Reference

FontFallbackBuilder Class
FontFallbackBuilder Members
Overload List